package com.sun.services.roles;

import com.sun.dto.users.UserRoleDto;
import com.sun.entitys.users.UserRole;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface RoleMapper {

    UserRoleDto toUserRoleDto(UserRole user);

    UserRole toUserRoleEntity(UserRoleDto userRoleDto);
}
